<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .box{
      width: 0px;
      height: 0px;
      border-left: 100px solid rgb(176, 60, 60);
      border-top: 100px solid transparent;
      border-right: 100px solid transparent;
      border-bottom: 100px solid transparent;
    }
  </style>
</head>
<body>
  <div class="box"></div>
  <script>
    // 1.css怎么实现三角形?
    // 将边框宽度改高,然后三个边框透明,一个边框有颜色
    // 使用transparent来实现边框隐藏
  </script>
</body>
</html>